package com.gblw.rjkf.pj.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * (SysUser)表实体类
 *
 * @author makejava
 * @since 2024-08-13 15:24:43
 */
@Data
public class SysUser extends Model<SysUser> {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //账号
    private String userName;
    //密码
    private String password;
    //名称
    private String nickName;
    //头像
    private String headPortrait;
    //创建时间
    @ApiModelProperty("${column.comment}")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    //0正常1删除
    @TableField(fill = FieldFill.INSERT)
    private Integer sStatus;


}

